package com.internetCafes.spms.web.sys.entity.vo.qualiconf;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 资质证书添加
 *
 * @author Zj 2021/6/11
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QualiConfigCertConfigVo {

    @ApiModelProperty(value = "记录id", position = 1)
    private Long id;

    @ApiModelProperty(value = "需求内容", position = 2)
    private String content;

    @ApiModelProperty(value = "条件标签 1-并 2-或", position = 2)
    private Integer condTag;

    @ApiModelProperty(value = "证书信息列表", position = 3)
    private List<CertInfo> certInfos;

    @ApiModelProperty(value = "说明", position = 4)
    private String explain;

    @Data
    @ApiModel
    public static class CertInfo {

        @ApiModelProperty(value = "证书类型编码", position = 1)
        private String typeCode;

        @ApiModelProperty(value = "证书类别编码", position = 2)
        private String categoryCode;

        @ApiModelProperty(value = "证书专业编码", position = 3)
        private String professionCode;

        @ApiModelProperty(value = "齐全标签 1-是 0-否 默认为0", position = 1)
        private Integer completeFlag;

        @ApiModelProperty(value = "数量", position = 4)
        private Integer amount;

    }
}
